import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpIoad from '@/components/ImageUpIoad'
import ThemePicker from '@/components/ThemePicker'
import ScreenFull from '@/components/ScreenFull'
export default {
  install(Vue) {
    // Vue.use 的时候回自动被执行
    // console.log('vue的实例', Vue)
    // console.log('插件的install方法')
    // 一般组件库，都将大量的组件注册放在这里
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpIoad', ImageUpIoad)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('ScreenFull', ScreenFull)

    // 这种都是组件封装使用 只要调用Vue.use即可
    // 插件对象一定要有install方法 写死
  }
}
